package com.pay.job.service;

import com.pay.job.entity.AggregateAmountDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 周益和
 * @ClassName PaymentJobDailyReportService
 * @qq 1552951165
 */
public interface PaymentJobDailyReportService {
    /**
     * 查询每个商户 昨日交易金额
     * @param shardIndex
     * @return
     */
    List<AggregateAmountDO> merchantTransactionAmount(Integer shardIndex);
    
    /**
     * 多线程异步处理
     * @param aggregateAmountList
     */
    void asynSendMerchantTransactionAmount(@Param("aggregateAmountList") List<AggregateAmountDO> aggregateAmountList);
}
